Skip to main content

Dimensions

Changing Dimensions within the application is done by modifying the parameters of the com.devexperts.dxcharts.lib.ui.theme.DxChartDimensions class. Parameters that are not modified by user remain at their default values:

val dimensions = DxChartDimensions(
common = Common(
bottomToolbarIconSize = 19.dp,
//...
),
/*
Other parameters overriding
*/
)
DxChartsTheme(
dimensions = dimensions
) {
/* content */
}

All dimensions used in the library can be found here